x86/pv: Support do_set_segment_base() for compat guests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Jul 2016 13:12:01 +0000 (13:12 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Sep 2016 12:33:44 +0000 (13:33 +0100)
commitc99986fa168ef79b1ea6c071f57017e40b367383
tree9cf4d7f51931f384eda36a0a9fe1714dd19f5498
parent939ba61bd376955ae3a519c09364346aed2be070
x86/pv: Support do_set_segment_base() for compat guests

set_segment_base is the only hypercall exists in only one of the two modes
guests might run in; all other hypercalls are either implemented, or
unimplemented in both modes.

Remove this split, by allowing do_set_segment_base() to be called in the
compat hypercall path.  This change will simplify the verification logic in a
later change.

No behavioural change from a guests point of view.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <JBeulich@suse.com>
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/mm.c